home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / MorphOS / Epic4_mos / share / epic / script / basical < prev    next >
Encoding:
Text File  |  2002-10-28  |  1.6 KB  |  71 lines

  1. # This script is intended for use with all installations of ircII.
  2. # ircII is unlikely to work properly without loading this script
  3. # from 'global'.
  4. #
  5. # by troy & lynx
  6.  
  7. # Standard ircI-like abbreviations
  8. # No irc client can call itself irc client if its not ircI-compatible!
  9. #
  10. alias a away
  11. alias c channel
  12. alias ch channel
  13. alias e exit
  14. alias h help
  15. alias i invite
  16. alias j join
  17. alias l leave
  18. alias log set log
  19. alias m msg
  20. alias n names
  21. alias s signoff
  22. alias t topic
  23. alias w whois
  24.  
  25. # Standard ircII aliases..
  26. #
  27. alias chop mo +o
  28. alias unchop mo -o $*
  29. alias mo mode $C $*
  30. alias k kick $C
  31. alias wdetected whois $D
  32. alias show exec -msg $T
  33. alias umode mode $N
  34.  
  35. #
  36. # Because of a logic error, /DMSG and /DQUERY have new aliases.
  37. # The old format didnt handle things like /DMSG nick1,nick2
  38. # correctly.  However, these aliases will handle multiple targets 
  39. # correctly.
  40. #
  41. alias dmsg msg =$tr(/ //$sar(g/,/,=/$0)) $1-
  42. alias dquery query =$0
  43.  
  44. # Reverse text with Ctrl-R
  45. bind ^r type 
  46.  
  47. window name ircII
  48.  
  49. #
  50. # These functions are _absolutely_ necessary for other scripts to work
  51. # correctly.  That means that loading this script from global is _not_
  52. # optional.
  53. #
  54. alias mode3 modethree
  55. alias modethree fe ($2-) x y z {mode $0 $1 $x $y $z}
  56. alias cinfo echo $info(c)
  57. alias o.b @ function_return = (SHOW_NUMERICS==[ON]) ? H : [***]
  58. alias locdomain
  59. {
  60.         if (!(function_return = after(-2 . $X)))
  61.         {
  62.                 @ function_return = X
  63.         }
  64. }
  65. alias localwho who -host *.$locdomain()
  66. alias recho eval echo $*
  67. alias rwhois quote whois $0 $1
  68.  
  69. # Sent notices should by default not be visible
  70. on ^send_notice * :
  71.